package com.workerhelping.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.workerhelping.vo.AdminRecordVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminRecordVODao extends BaseMapper<AdminRecordVO> {

    IPage<AdminRecordVO> getAllByUnreviewed(Page<AdminRecordVO> page);

    IPage<AdminRecordVO> getAllByApproved(Page<AdminRecordVO> page);


    IPage<AdminRecordVO> getAllByRejected(Page<AdminRecordVO> page);

    IPage<AdminRecordVO> getAllByCancelled(Page<AdminRecordVO> page);

//    List<AdminRecordVO> getAllByUnreviewed();
//
//    List<AdminRecordVO> getAllByApproved();
//
//    List<AdminRecordVO> getAllByRejected();
//
//    List<AdminRecordVO> getAllByCancelled();
}
